package com.laoxu.game;

import com.laoxu.game.view.GobangFrame;
import com.laoxu.game.view.MyFrame;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {

        GobangFrame frame = new GobangFrame();
        //MyFrame myFrame = new MyFrame();
        //JOptionPane
        /*JOptionPane.showMessageDialog(myFrame,"我的信息");
        int result = JOptionPane.showConfirmDialog(myFrame,"确定要开始游戏吗？","",0);
        if(result==0){
            JOptionPane.showMessageDialog(myFrame,"游戏开始");
        }
        if(result==1){
            JOptionPane.showMessageDialog(myFrame,"游戏结束");
        }
        if(result==2){
            JOptionPane.showMessageDialog(myFrame,"重新选择");
        }

        String username = JOptionPane.showInputDialog("请输入你的姓名：");
        System.out.println(username);
        JOptionPane.showMessageDialog(myFrame,"输入的姓名为："+username);*/
        //System.out.println(System.getProperty("user.dir")+"/src/image/background.jpg");

    }
}
